package ZY10_22.Teacher;

public class JavaTeeacher extends Teacher{
    public void show(){
        super.show();
        java();
        from();
    }
    public JavaTeeacher(String name, String sex, int age, int schoolage){
        super(name,sex,age,schoolage);
    }
    public void java(){
        System.out.println("教授java的课程");
    }
    public void from(){
        System.out.println("我来自安徽");
    }
}
